package com.investment.advisor.service;

import com.investment.advisor.dto.UserDTO;
import com.investment.advisor.dto.RegisterRequest;
import com.investment.advisor.dto.LoginRequest;
import com.investment.advisor.entity.User;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface UserService {
    UserDTO register(RegisterRequest request);
    UserDTO login(LoginRequest request, HttpServletRequest httpRequest);
    void logout(Long userId, String deviceInfo);
    List<UserDTO> getOnlineUsers();
    long getOnlineUserCount();
} 